package com.lgw.demo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lgw.demo.dao.PersonOrderMapper;
import com.lgw.demo.pojo.PersonOrder;

import java.util.List;

@Service
public class PersonOrderServiceImpl implements PersonOrderService{

    @Autowired
    PersonOrderMapper personOrderMapper;

    @Override
    public List<PersonOrder> getAllPersonOrder() {
        return personOrderMapper.getAllPersonOrder();
    }
}
